// 核算记录
export const recordTypeOptions = [
  {label: "入库", value: 1, type: "info", color: ""},
  {label: "销货", value: 2, type: "warning", color: ""},
  {label: "领料", value: 3, type: "success", color: ""},
  {label: "调拨", value: 4, type: "danger", color: ""},
  {label: "调整", value: 5, type: "primary", color: ""},
];

export const recordTypeMixins = (data) => {
  return recordTypeOptions.find(item => item.value === data);
};
